Namespace - LJCNetCommon
Parameters
text - The text value.
index - The start index.
letter - The Phonetic letter.
Returns
True if a Phonetic was created, otherwise false.
Syntax
C# |
public static Boolean Phonetic(String text, Int32& index, out Char& letter)
|
Creates a Phonetic character from the supplied text starting at the
supplied index. (D)
Remarks
Sets the letter parameter to:
-
"F" if the current and following letter are "PH"
- "S" if the current letter is "P", the following letter is "S"
and the third letter is a vowel or "Y".
- "K" if the current letter is "C" and the following letter is "A", "O"
or "U".
- "S" if the current letter is "C" and the following letter is "E", "I"
or "Y".
- Otherwise, the same letter as at the current index.
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.